Optimal. Leaf size=98 \[ \frac{5 \text{EllipticF}\left (a+b x-\frac{\pi }{4},2\right )}{42 b}+\frac{\sin ^{\frac{9}{2}}(2 a+2 b x)}{18 b}-\frac{\sin ^{\frac{5}{2}}(2 a+2 b x) \cos (2 a+2 b x)}{14 b}-\frac{5 \sqrt{\sin (2 a+2 b x)} \cos (2 a+2 b x)}{42 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0573313, antiderivative size = 98, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {4297, 2635, 2641} \[ \frac{\sin ^{\frac{9}{2}}(2 a+2 b x)}{18 b}+\frac{5 F\left (\left .a+b x-\frac{\pi }{4}\right |2\right )}{42 b}-\frac{\sin ^{\frac{5}{2}}(2 a+2 b x) \cos (2 a+2 b x)}{14 b}-\frac{5 \sqrt{\sin (2 a+2 b x)} \cos (2 a+2 b x)}{42 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4297
Rule 2635
Rule 2641
Rubi steps
\begin{align*} \int \cos ^2(a+b x) \sin ^{\frac{7}{2}}(2 a+2 b x) \, dx &=\frac{\sin ^{\frac{9}{2}}(2 a+2 b x)}{18 b}+\frac{1}{2} \int \sin ^{\frac{7}{2}}(2 a+2 b x) \, dx\\ &=-\frac{\cos (2 a+2 b x) \sin ^{\frac{5}{2}}(2 a+2 b x)}{14 b}+\frac{\sin ^{\frac{9}{2}}(2 a+2 b x)}{18 b}+\frac{5}{14} \int \sin ^{\frac{3}{2}}(2 a+2 b x) \, dx\\ &=-\frac{5 \cos (2 a+2 b x) \sqrt{\sin (2 a+2 b x)}}{42 b}-\frac{\cos (2 a+2 b x) \sin ^{\frac{5}{2}}(2 a+2 b x)}{14 b}+\frac{\sin ^{\frac{9}{2}}(2 a+2 b x)}{18 b}+\frac{5}{42} \int \frac{1}{\sqrt{\sin (2 a+2 b x)}} \, dx\\ &=\frac{5 F\left (\left .a-\frac{\pi }{4}+b x\right |2\right )}{42 b}-\frac{5 \cos (2 a+2 b x) \sqrt{\sin (2 a+2 b x)}}{42 b}-\frac{\cos (2 a+2 b x) \sin ^{\frac{5}{2}}(2 a+2 b x)}{14 b}+\frac{\sin ^{\frac{9}{2}}(2 a+2 b x)}{18 b}\\ \end{align*}
Mathematica [A] time = 0.384852, size = 96, normalized size = 0.98 \[ \frac{240 \sqrt{\sin (2 (a+b x))} \text{EllipticF}\left (a+b x-\frac{\pi }{4},2\right )+70 \sin (2 (a+b x))-156 \sin (4 (a+b x))-35 \sin (6 (a+b x))+18 \sin (8 (a+b x))+7 \sin (10 (a+b x))}{2016 b \sqrt{\sin (2 (a+b x))}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 180., size = 0, normalized size = 0. \begin{align*} \int \left ( \cos \left ( bx+a \right ) \right ) ^{2} \left ( \sin \left ( 2\,bx+2\,a \right ) \right ) ^{{\frac{7}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \cos \left (b x + a\right )^{2} \sin \left (2 \, b x + 2 \, a\right )^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-{\left (\cos \left (2 \, b x + 2 \, a\right )^{2} \cos \left (b x + a\right )^{2} - \cos \left (b x + a\right )^{2}\right )} \sin \left (2 \, b x + 2 \, a\right )^{\frac{3}{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]